package com.vision.admin.cl.data;

import com.google.gwt.editor.client.Editor.Path;
import com.sencha.gxt.core.client.ValueProvider;
import com.sencha.gxt.data.shared.LabelProvider;
import com.sencha.gxt.data.shared.ModelKeyProvider;
import com.sencha.gxt.data.shared.PropertyAccess;
import com.vision.core.cm.db.data.Role;

/**
 * Provides mapping for {@link Role} fields to grid columns.
 * 
 * @author Mark
 *
 */
public interface RoleProperties extends PropertyAccess<Role> {
	
	@Path("name")
	ModelKeyProvider<Role> key();
	
	@Path("name")
	LabelProvider<Role> nameLabel();
	
	ValueProvider<Role, String> name();
	ValueProvider<Role, String> description();
	
}